package com.finger.forest.model;

import java.io.Serializable;
import java.util.List;

/**
 * @author sy
 * @date 2021/3/10
 * @desc
 */
public class VoiceListModel implements Serializable {

    /**
     * id : 11
     * gridId : 7
     * createDate : 2021-03-09 10:22:36
     * validFlag : 0
     * duration : null
     * fileList : [{"id":163,"fileName":"录音.m4a","fileSize":148091,"filePath":"http://192.168.1.240:9999/group1/M00/00/01/wKgB8F5KaPyAAIgKAAJCe3W03Sw802.m4a","fileType":4,"createTime":"2021-03-09T02:22:36.000+00:00","createUser":null,"updateTime":null,"updateUser":null,"gridId":7}]
     */

    private int id;
    private int gridId;
    private String createDate;
    private int validFlag;
    private long duration;
    private List<FileListBean> fileList;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getGridId() {
        return gridId;
    }

    public void setGridId(int gridId) {
        this.gridId = gridId;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public int getValidFlag() {
        return validFlag;
    }

    public void setValidFlag(int validFlag) {
        this.validFlag = validFlag;
    }

    public long getDuration() {
        return duration;
    }

    public void setDuration(long duration) {
        this.duration = duration;
    }

    public List<FileListBean> getFileList() {
        return fileList;
    }

    public void setFileList(List<FileListBean> fileList) {
        this.fileList = fileList;
    }

    public static class FileListBean implements Serializable{
        /**
         * id : 163
         * fileName : 录音.m4a
         * fileSize : 148091
         * filePath : http://192.168.1.240:9999/group1/M00/00/01/wKgB8F5KaPyAAIgKAAJCe3W03Sw802.m4a
         * fileType : 4
         * createTime : 2021-03-09T02:22:36.000+00:00
         * createUser : null
         * updateTime : null
         * updateUser : null
         * gridId : 7
         */

        private int id;
        private String fileName;
        private int fileSize;
        private String filePath;
        private int fileType;
        private String createTime;
        private String createUser;
        private long updateTime;
        private String updateUser;
        private int gridId;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getFileName() {
            return fileName;
        }

        public void setFileName(String fileName) {
            this.fileName = fileName;
        }

        public int getFileSize() {
            return fileSize;
        }

        public void setFileSize(int fileSize) {
            this.fileSize = fileSize;
        }

        public String getFilePath() {
            return filePath;
        }

        public void setFilePath(String filePath) {
            this.filePath = filePath;
        }

        public int getFileType() {
            return fileType;
        }

        public void setFileType(int fileType) {
            this.fileType = fileType;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getCreateUser() {
            return createUser;
        }

        public void setCreateUser(String createUser) {
            this.createUser = createUser;
        }

        public long getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(long updateTime) {
            this.updateTime = updateTime;
        }

        public String getUpdateUser() {
            return updateUser;
        }

        public void setUpdateUser(String updateUser) {
            this.updateUser = updateUser;
        }

        public int getGridId() {
            return gridId;
        }

        public void setGridId(int gridId) {
            this.gridId = gridId;
        }
    }
}
